import { stringify } from 'qs';
import request from '../utils/request';

// =====================DEMO===========================

export async function list(params) {
  return request(`/api/demo/list?${stringify(params)}`);
}

export async function detail(params) {
  return request(`/api/demo/detail?${stringify(params)}`);
}
